#include "tests.h"
#include "task.h"

int init_test_suite_task_schedule(void)
{
    /* actually nothing to do; just for illustration */
    return 0;
}

int cleanup_test_suite_task_schedule(void)
{
    /* actually nothing to do; just for illustration */
    return 0;
}

void test_task_schedule_success()
{
   // int value = TASK_Schedule(); 
   
	CU_ASSERT_EQUAL(0,0);
}

void test_task_schedule2()
{

    CU_ASSERT_EQUAL(5,5);
    
}

void add_test_task_scheduling()
{
    CU_pSuite pSuite = NULL;

    /* add a suite to the registry */
    pSuite = CU_add_suite("Task Schedule test suite", init_test_suite_task_schedule, cleanup_test_suite_task_schedule);
    if (NULL == pSuite) {
        print_last_error();
        return;
    }

    /* add the tests to the suite */
    if ((NULL == CU_ADD_TEST(pSuite, test_task_schedule_success)) ||
        (NULL == CU_ADD_TEST(pSuite, test_task_schedule2)))
    {
        print_last_error();
        return;
    }
}